<?php if(!empty($location)){?>
<?php echo $location['Menue']['name'];?> 
<td><?php echo $location['Menue']['name']; ?>&nbsp;</td>
<td>
	<?php 
		if($location['Menue']['published'] == 1){ 
			echo $this->Html->image('assets/icons/actions_small/Yes.png', array('alt' => 'Published'));
		}else{
			echo $this->Html->image('assets/icons/actions_small/No.png', array('alt' => 'Not Published'));
		}
	?>&nbsp;	
</td>
<td><?php echo $location['Menue']['url']; ?>&nbsp;</td>
<td class="actions">
	<?php echo $this->Html->link($this->Html->image('assets/icons/actions_small/Pencil.png', array('alt' => 'Edit')),
									'/admin/'.$this->params['controller']. '/' .'add'.'/'.$location['Menue']['id'],  
									array('rel' => 'edit', 'escape' => false, 'class'=>'tooltip table_icon'));
	?>
	<?php echo $this->Html->link($this->Html->image('assets/icons/actions_small/Trash.png', array('alt' => 'Delete')),
									'/admin/'.$this->params['controller']. '/' .'delete'.'/'.$location['Menue']['id'],  
									array('rel' => 'delete', 'escape' => false, 'class'=>'tooltip table_icon'));
	?>
</td>
<?php }?>